//
//  JourneyTableViewCell.m
//  WhereToTravel
//
//  Created by dlios on 15/10/14.
//  Copyright © 2015年 zhoushengmin. All rights reserved.
//

#import "JourneyTableViewCell.h"

#define W self.contentView.frame.size.width
#define H self.contentView.frame.size.height

@implementation JourneyTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    [super createView];
    self.titleLabel.font = [UIFont systemFontOfSize:15];

    self.downLabel.font = [UIFont systemFontOfSize:12];
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.titleLabel.frame = CGRectMake(W * 0.05, 0, W, H / 3 * 2);
    self.downLabel.frame = CGRectMake(W * 0.05, H / 3 * 2, W, H / 3);
}




@end
